package br.com.appestoque.util;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;

public class Propriedade {

	public static final Properties properties;

	static {
		properties = new Properties();
		loadConfiguracao();
	}

	private static void loadConfiguracao() {		
		try {
			FileInputStream in = new FileInputStream("config.properties");
			properties.load(in);			
		} catch (FileNotFoundException e) {			
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}